From 0af1a4f45db394563f172f5dbff637ae39e6a893 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 8 Jan 2024 14:36:37 -0800
Subject: fix(badges): loading order

---
 src/routes/user/[user]/badges/+page.svelte | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/routes/user/[user]/badges/+page.svelte')

diff --git a/src/routes/user/[user]/badges/+page.svelte b/src/routes/user/[user]/badges/+page.svelte
index 8813c324..86e47792 100644
--- a/src/routes/user/[user]/badges/+page.svelte
+++ b/src/routes/user/[user]/badges/+page.svelte
@@ -205,7 +205,7 @@
 	</div>
 {:else}
 	{#await currentUserIdentity}
-		<Loading type="user identity" percent={60} />
+		<Loading type="badges" percent={40} />
 	{:then identity}
 		{@const isOwner = identity && identity.name === data.username}
 
@@ -305,7 +305,7 @@
 		<p />
 
 		{#await badgesPromise}
-			<Loading type="badges" percent={40} />
+			<Loading type="user identity" percent={60} />
 		{:then badgesResponse}
 			{#if badgesResponse}
 				{#await badgesResponse.json()}
-- 
cgit v1.2.3

